package com.knight.study.patterns.tujie.bridge;/**
 * @Author knight
 * @Date 2024/9/11 11:23
 */

public class CountDisplay extends Display{
    public CountDisplay(DisplayImpl iml) {
        super(iml);
    }

    public void multiDisplay(int times) {
        open();
        for (int i = 0; i < times; i++) {
            print();
        }
        close();
    }
}
